package com.test.callback;

public class CalculateService {
	private CallBack cb;

	public CalculateService(CallBack cb){
		this.cb = cb;
	}
	
	
	public void sum(int a,int b){
		int sum = a+b;
		cb.execute(sum);
	}
}
